import develop from './develop';
import advanced from './advanced';
import general from './general';

const localRoute = import.meta.env.VITE_APP_LOCAL_ROUTE === 'true';
const multiPortal = import.meta.env.VITE_APP_MULTIPORTAL === 'true';

const config = {
	...develop,
	...advanced,
	...general,
	localRoute,
	multiPortal
};

if (import.meta.env.NODE_ENV === 'development') {
	Object.assign(config, develop);
}

export default {
	...develop,
	...advanced,
	...general,
	localRoute,
	multiPortal
};
